[PA1] Create Photo Avatar
HeyGen Photo Avatar
[PA1] Create Photo Avatar
Creates a HeyGen Photo Avatar from uploaded photos or AI generation. Upload mode requires base64 photos; generate mode uses age/gender/ethnicity/style params. Returns group_id for status polling.
POST
[PA1] Create Photo Avatar
Authorizations
Bearer token from your account (https://agent.ai/user/integrations#api)
Body
application/json
How to create the avatar.
Available options:
upload, generate Variable name for the result. Access as {{avatar_result.group_id}}, {{avatar_result.status}}.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$Display name for the avatar (default: My Avatar).
JSON array of photo objects: [{"base64": "...", "mimeType": "image/jpeg"}]. Required for upload mode.
Age range for generated avatar.
Available options:
Young Adult, Middle-Aged, Senior Available options:
Unspecified, Male, Female, Non-Binary Available options:
Unspecified, Asian, Black, Caucasian, Hispanic, Middle Eastern, Mixed Available options:
square, portrait, landscape Available options:
half_body, close_up, full_body Available options:
Realistic, Artistic, Professional Optional description of desired appearance traits.

